import request from "@/utils/request";

/* 获取新闻 */
export function getNew(noticeQueryVo){
    return request({
        url: '/api/notice/list',
        method: 'post',
        data: noticeQueryVo
    })
}

/* 删除 */
export function removeNew(notice){
    return request({
        url: '/api/notice/remove',
        method: 'post',
        data: notice
    })
}

/* 删除 */
export function addNew(notice){
    return request({
        url: '/api/notice/add',
        method: 'post',
        data: notice
    })
}

